package com.qf.smartplatform.mapper;
import com.qf.smartplatform.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface UserMapper {

    void addUser(User user);

    List<User >selectByUserNameOrPhoneOrEmail(@Param("username") String username, @Param("phone")String phone, @Param("email") String email );

    User selectByUserName(String username);

    void upDateUserLogin(User user);
}
